<?php

class Sistema_Model_DbTable_Menu extends Zend_Db_Table_Abstract
{

    protected $_name = 'MENU';
    protected $_primary = 'MEN_ID';
    
     protected $_referenceMap = array( 
         'refMod' => array( 
         'refTableClass' => 'Sistema_Model_DbTable_Modulos', 
         'refColumns' => array('MEN_ID'), 
         'columns' => array('MEN_ID') 
         ) 
     );
    
    public function getMenus() {
        $row = $this->fetchAll();
        return $row->toArray();
    }
    

}

